
import request from '@/utils/request';

// 列表
export async function queryPageList(params) {
  return request('/b/datalevel/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function add(params) {
  return request('/b/datalevel/add', {
    method: 'POST',
    data: params,
  });
}
// 修改
export async function update(params) {
  return request('/b/datalevel/update', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function dataleveldelete(params) {
  return request('/b/datalevel/delete', {
    method: 'POST',
    data: params,
  });
}

export async function queryTreeList(params) {
  return request('/b/datatype/queryTreeList', {
    method: 'POST',
    data: params,
  });
}